package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据录入对象 WCS_Pcedit
 * 
 * @author ZYT
 * @date 2020-11-27
 */
public class WcsPcedit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long trkId;

    /** 条码编号 */
    @Excel(name = "条码编号")
    private String contNo;

    /** 计划目的地 */
    @Excel(name = "计划目的地")
    private String toPos;

    /** 实际目的地 */
    @Excel(name = "实际目的地")
    private String curPos;

    /** 标识 */
    @Excel(name = "标识")
    private String dealFlag;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 手持强编号 */
    @Excel(name = "手持强编号")
    private String spearId;

    public void setTrkId(Long trkId) 
    {
        this.trkId = trkId;
    }

    public Long getTrkId() 
    {
        return trkId;
    }
    public void setContNo(String contNo) 
    {
        this.contNo = contNo;
    }

    public String getContNo() 
    {
        return contNo;
    }
    public void setToPos(String toPos) 
    {
        this.toPos = toPos;
    }

    public String getToPos() 
    {
        return toPos;
    }
    public void setCurPos(String curPos) 
    {
        this.curPos = curPos;
    }

    public String getCurPos() 
    {
        return curPos;
    }
    public void setDealFlag(String dealFlag) 
    {
        this.dealFlag = dealFlag;
    }

    public String getDealFlag() 
    {
        return dealFlag;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setSpearId(String spearId) 
    {
        this.spearId = spearId;
    }

    public String getSpearId() 
    {
        return spearId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trkId", getTrkId())
            .append("contNo", getContNo())
            .append("toPos", getToPos())
            .append("curPos", getCurPos())
            .append("dealFlag", getDealFlag())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("spearId", getSpearId())
            .toString();
    }
}
